package com.ga;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableEurekaClient
public class AGatewayApplication {

    private final static Logger logger = LoggerFactory.getLogger(AGatewayApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(AGatewayApplication.class, args);
        logger.info("=============================================================================");
        logger.info("============================中心网关--启动成功================================");
        logger.info("=============================================================================");
    }
}
